package cn.tedu.home1ess.admin.traffic.dao.repository;

import cn.tedu.home1ess.admin.traffic.pojo.po.MapTrafficPO;
import cn.tedu.home1ess.admin.traffic.pojo.po.RecentTrafficPO;
import cn.tedu.home1ess.admin.traffic.pojo.po.TOPTrafficPO;
import cn.tedu.home1ess.admin.traffic.pojo.po.TrafficPO;

import java.util.Date;
import java.util.List;

public interface ITrafficRepository {
    void addUserCount(Date date);

    void addTrafficCount(Date date);

    List<MapTrafficPO> getMapTraffic();

    List<TOPTrafficPO> getTopTraffic();

    List<RecentTrafficPO> getRecentTraffic();

    TrafficPO selectRealTime();

    void createCount(TrafficPO trafficPO);
}
